package com.eugene.entity;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.eugene.element.FnCalendar;

public class Fund implements Serializable{
	private final static Logger logger =LoggerFactory.getLogger(Fund.class);
//	private VarmapId varmapId;
//	
//	public VarmapId getVarmapId() {
//		return varmapId;
//	}
//	public void setVarmapId(VarmapId varmapId) {
//		this.varmapId = varmapId;
//	}
	private FnCalendar baseDate;
	private String fundId;
	private String positionId;
	private String hierarchyId1;
	private String hierarchyId2;
	private String hierarchyId3;
	private double holdQty;
	
	public FnCalendar getBaseDate() {
		return baseDate;
	}
	public void setBaseDate(FnCalendar baseDate) {
		this.baseDate = baseDate;
	}
	public String getFundId() {
		return fundId;
	}
	public void setFundId(String fundId) {
		this.fundId = fundId;
	}
	public String getPositionId() {
		return positionId;
	}
	public void setPositionId(String positionId) {
		this.positionId = positionId;
	}
	public String getHierarchyId1() {
		return hierarchyId1;
	}
	public void setHierarchyId1(String hierachyId1) {
		this.hierarchyId1 = hierachyId1;
	}
	public String getHierarchyId2() {
		return hierarchyId2;
	}
	public void setHierarchyId2(String hiearachyId2) {
		this.hierarchyId2 = hiearachyId2;
	}
	public String getHieararchyId3() {
		return hierarchyId3;
	}
	public void setHieararchyId3(String hiearachyId3) {
		this.hierarchyId3 = hiearachyId3;
	}
	public double getHoldQty() {
		return holdQty;
	}
	public void setHoldQty(double holdQty) {
		this.holdQty = holdQty;
	}
//*****************************************
	
	public Fund(){
		
	}
	public Fund(String fundId){
		this.fundId =fundId;
	}	
//	public Fund(VarmapId varmapId, double holdQty,String h2, String h3){
//		this.varmapId =varmapId;
//		this.holdQty =holdQty;
//		this.hiearachyId2 = h2;
//		this.hiearachyId3 = h3;
//	}
	public Fund(FnCalendar baseDate, String fundId, String positionId, double holdQty){
		this.baseDate = baseDate	;
		this.fundId =fundId;
		this.positionId =positionId;
		this.holdQty =holdQty;
	}
//	public Fund(FnCalendar baseDate, String fundId, String positionId, double holdQty){
//		this.baseDate = baseDate	;
//		this.fundId =fundId;
//		this.positionId =positionId;
//		this.holdQty =holdQty;
//	}
	
	@Override
	public boolean equals(Object other){
		return super.equals(other); 
	}
	@Override
	public int hashCode(){
		return super.hashCode();
	}
	
}
